package com.newer.weatherforecast.entity;

import java.io.Serializable;

public class MyConfig implements Serializable{
	private boolean autoRefresh ;
	private int RefreshFreq ; 
	private boolean allow_sms;
	private boolean allow_save_msg;
	private String keyword;
	public MyConfig(boolean autoRefresh, int refreshFreq, boolean allowSms,
			boolean allowSaveMsg, String keyword) {
		super();
		this.autoRefresh = autoRefresh;
		RefreshFreq = refreshFreq;
		allow_sms = allowSms;
		allow_save_msg = allowSaveMsg;
		this.keyword = keyword;
	}
	public MyConfig() {
		super();
	}
	public boolean isAutoRefresh() {
		return autoRefresh;
	}
	public void setAutoRefresh(boolean autoRefresh) {
		this.autoRefresh = autoRefresh;
	}
	public int getRefreshFreq() {
		return RefreshFreq;
	}
	public void setRefreshFreq(int refreshFreq) {
		RefreshFreq = refreshFreq;
	}
	public boolean isAllow_sms() {
		return allow_sms;
	}
	public void setAllow_sms(boolean allowSms) {
		allow_sms = allowSms;
	}
	public boolean isAllow_save_msg() {
		return allow_save_msg;
	}
	public void setAllow_save_msg(boolean allowSaveMsg) {
		allow_save_msg = allowSaveMsg;
	}
	public String getKeyword() {
		return keyword;
	}
	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}
	public String toString() {
		return "MyConfig [RefreshFreq=" + RefreshFreq + ", allow_save_msg="
				+ allow_save_msg + ", allow_sms=" + allow_sms
				+ ", autoRefresh=" + autoRefresh + ", keyword=" + keyword + "]";
	}
}
